package com.emergency.direct.service;


import com.emergency.base.domain.Message;
import org.springframework.data.domain.Page;

import java.util.Map;

public interface MessageService {

    Message getMessageById(Long messageId);

    String saveOrUpdate(Message message);

    Page<Message> findList(Map searchMap, int page, int size);
}
